In the shadow mode, thanks to recent patches, the shadow
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 18 Oct 2005 09:45:29 +0000 (10:45 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 18 Oct 2005 09:45:29 +0000 (10:45 +0100)
commit7126177413e73356d5e29c519c7d4fbcb0d6f45e
treed226bf637adcf379bfacb65ac6e567eb9e4cea25
parent006b46b2d010366415749591af35dd2900e6e6a0
In the shadow mode, thanks to recent patches, the shadow
reference counts (both general counts and type counts)
are now correct in all of my testing so far.  As a result,
we should remove the shadow_tainted_refcnt flag from
the domain structure.  Leaving this flag in place would
create confusion for programmers and would also prevent
future debugging of problems in handling general and type
reference counts in the shadow mode.  In addition, the
patch also (1) drops the requirement that shadow_mode_disable()
should only be called in the domain destruction sequence
(even though it is only used that way so far), and
(2) strictly assert that the type reference count must
be 0 when we free a page from the dom heap.

Signed-off-by: Khoa Huynh <khoa@us.ibm.com>
xen/arch/x86/shadow32.c
xen/arch/x86/shadow_public.c
xen/common/page_alloc.c
xen/include/asm-x86/domain.h
xen/include/asm-x86/shadow.h
xen/include/xen/shadow.h